package com.ncmmall.querychannel.service;

import com.ncmmall.querychannel.QueryRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author linxs
 */
@Service
public class QueryChannelService extends AbstractQueryChannelService {

    private Logger LOG = LoggerFactory.getLogger(getClass());

    @Resource(name = "jpaQueryRepository")
    private QueryRepository queryRepository;

    public void setQueryRepository(QueryRepository queryRepository) {
        this.queryRepository = queryRepository;
    }

    @Override
    public QueryRepository getQueryRepository() {
        return queryRepository;
    }


}
